#!/usr/bin/env python
# each of these dictionaries provides important information for determining which rules 
# will be applied in generating accent specific pronunciations. The rules and exceptions
# are written so that these dictionaries represent a hierarchy.  For example in the rpx 
# dict, if a rule applies to "southern_england", it necessarily applies to "UK".  If a 
# rule applies to "general_uk", it necessarily applies to "southern_england".  But a rule
# applying to "southern_england might not apply to "general_uk", and so on.


guk  = {'COUNTRY'  :  'UK',
        'REGION'   :  'southern_england',
        'LOCAL'    :  'general_uk',
        'PERSON'   :  '0',
       }

edi  = {'COUNTRY'  :  'UK',
        'REGION'   :  'scotland',
        'LOCAL'    :  'edingurgh',
        'PERSON'   :  '0',
       }

lds  = {'COUNTRY'  :  'UK',
        'REGION'   :  'northern_england',
        'LOCAL'    :  'leeds',
        'PERSON'   :  '0',
       }

# The TOWN code '_lds1' differs from '_lds' in that it has
# no H-dropping rule applied to it, where as '_lds' does
lds1  = {'COUNTRY'  :  'UK',
         'REGION'   :  'northern_england',
         'LOCAL'    :  'leeds',
         'PERSON'   :  '1',
        }

cdf  = {'COUNTRY'  :  'UK',
        'REGION'   :  'wales',
        'LOCAL'    :  'cardiff',
        'PERSON'   :  '0',
       }

abc  = {'COUNTRY'  :  'UK',
        'REGION'   :  'wales',
        'LOCAL'    :  'abercrave',
        'PERSON'   :  '0',
       }

# Note for this 'PERSON' is missing
abd1  = {'COUNTRY'  :  'UK',
         'REGION'   :  'scotland',
         'LOCAL'    :  'aberdeen',
         'PERSON'   :  '1',
        }

nyc  = {'COUNTRY'  :  'US',
        'REGION'   :  'eastern_us',
        'LOCAL'    :  'new_york',
        'PERSON'   :  '0',
       }

# The difference between '_nyc' and '_nyc1' is that '_nyc' is rhotic, while '_nyc1' is non-rhotic.

nyc1  = {'COUNTRY'  :  'US',
         'REGION'   :  'eastern_us',
         'LOCAL'    :  'new_york',
         'PERSON'   :  '1',
        }

gam  = {'COUNTRY'  :  'US',
        'REGION'   :  'western_us',
        'LOCAL'    :  'general_american',
        'PERSON'   :  '0',
       }

sca  = {'COUNTRY'  :  'US',
        'REGION'   :  'southern_us',
        'LOCAL'    :  'south_carolina',
        'PERSON'   :  '0',
       }

# The note for the 'PERSON' variant in '_ccl1' is missing.
ccl1  = {'COUNTRY'  :  'UK',
         'REGION'   :  'ireland',
         'LOCAL'    :  'county_clare',
         'PERSON'   :  '1',
        }

gau  = {'COUNTRY'  :  'AUS',
        'REGION'   :  'gen_aus',
        'LOCAL'    :  'general_australian',
        'PERSON'   :  '0',
       }

gnz  = {'COUNTRY'  :  'NZ',
        'REGION'   :  'gen_n_z',
        'LOCAL'    :  'general_new_zealand',
        'PERSON'   :  '0',
       }
